package com.brook.springbootsrcurity;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

/**
 * @author Brook
 */
@SpringBootApplication
@EnableWebSecurity//通过启用这个注解，就引用了对url的保护
public class SpringBootSecurity {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootSecurity.class,args);
    }
}
